<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>16 生命周期</title>
</head>
<body>
  <div id="app">
    <div id="root">
      <h1>标题1</h1>
      <div class="test">
        <span>测试</span>
      </div>
    </div>
    <div id="root">
      <h1>标题1</h1>
      <div class="haha">
        <span>测试</span>
      </div>
    </div>
  </div>
</body>
<script src="lib/vue.js"></script>
<script>
  
  const app = new Vue({
    
  }).$mount('#app')
</script>
</html>